package is.api.demo.isgateway.support;


/**
 * SM2密钥对象
 *
 * @author chen.chen
 */
public class Sm2KeyParameter {
    //私钥字符串
    private String privateKey;
    //公钥字符串
    private String publicKey;

    /**
     * 空构造
     *
     * @author chen.chen
     */
    public Sm2KeyParameter() {

    }

    /**
     * 密钥构造器
     *
     * @param privateKey 私钥字符串,一般为16进制字符串
     * @param publicKey  公钥字符串,一般为16进制字符串
     */
    public Sm2KeyParameter(String privateKey, String publicKey) {
        this.privateKey = privateKey;
        this.publicKey = publicKey;
    }

    public String getPrivateKey() {
        return privateKey;
    }

    public void setPrivateKey(String privateKey) {
        this.privateKey = privateKey;
    }

    public String getPublicKey() {
        return publicKey;
    }

    public void setPublicKey(String publicKey) {
        this.publicKey = publicKey;
    }
}

